# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Alexander Willing <willing.alexander@googlemail.com>
pkgname=enet
pkgver=1.3.15
pkgrel=0
pkgdesc="Reliable UDP networking library"
options="!check" # No testsuite
url="http://enet.bespin.org"
arch="all"
license="MIT"
subpackages="$pkgname-dev"
source="http://enet.bespin.org/download/enet-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr --disable-static
	make
}

package() {
	make DESTDIR="$pkgdir/" install
}

sha512sums="41ce9bae1286e61cc2288d326c6571cce35be0fa5abf957c7a1386b785e4c6744b744792ac30c8318bfd11eae5aa4731430c973ffa6a09694bd0b0be8f8b4dae  enet-1.3.15.tar.gz"
